package com.whc.gulimall.ware.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.whc.common.utils.PageUtils;
import com.whc.gulimall.ware.entity.WareOrderTaskDetailEntity;

import java.util.List;
import java.util.Map;

/**
 * 库存工作单
 *
 * @author wanghaochen
 * @email angaoen@outlook.com
 * @date 2022-03-05 00:09:03
 */
public interface WareOrderTaskDetailService extends IService<WareOrderTaskDetailEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 获取到状态1的数据
     *
     * @param orderSn orderSn
     * @return id集合
     */
    List<Long> listLockedStockId(String orderSn);

    List<WareOrderTaskDetailEntity> listDetailByOrderSnAndStatus(String orderSn, int i);
}

